#ifndef SCENE2D_H
#define SCENE2D_H
#include "treegen.h"
#include "treedraw.h"
#include "shadow2d.h"
#include "artistic.h"
#include "spacecol2d.h"
#include "treegen2d.h"

class Artistic;
class SpaceCol2D;
class TreeDraw;
class TreeGen2D;

class Scene2D
{
public:
    Scene2D();
    Scene2D(Artistic  * wg);
    ~Scene2D();
    void draw();
    SpaceCol2D * spaceColTree;
    TreeDraw *drawer;
    TreeGen2D *tree0;
    void initialize();
    void deleteTree();
    void iterate();
    void addMarkers(float x, float y);
    void toggleInteract(bool b);
    bool shadow, drawAlgo;
    void addMultipleMetamers(bool b);
    bool saveScene(QString filename);
    bool loadScene(QString filename);



private:
    Shadow2D *shadowGrid;
    bool m_addMultipleMeta;
    int count;

};

#endif // SCENE2D_H
